package designpatterns.strategy.code;

public class Context {
    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }


    public Double execute(Double num1,Double num2) {
        return strategy.operation(num1,num2);
    }
}
